package com.bean;


/**
 * @author Administrator
 *  采购订单
 */
public class PurchaseOrder {
    private Integer purchaseOrderId;

    /**
     * 采购时间
     */
    private String purchaseTime;

    
    /**
     * 申请人id
     */
    private Integer supplierId;

    /**
     * 应付账款
     */
    private Double totalPrice;

    /**
     * 创建人id
     */
    private Integer createById;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 审核人id
     */
    private Integer exameById;

    /**
     * 审核时间
     */
    private String exameTime;
    /**
     * 审核意见
     */
    private String exameSuggestion;

    /**
     * 发货时间
     */
    private String sendMaterialTime;

    /**
     * 收货时间
     */
    private String receiveMaterialTime;

    /**
     * 备注
     */
    private String remark;

    
    /**
     * 状态码    1为已制定待审核   2为通过审核 3为未通过审核 4确认发货 5拒绝发货 6确认收货  7拒绝收货 
     */
    private String state;

    /**
     * 流程是否完成状态码  0表示进行中  1表示已完成
     */
    private Integer finish;

    private User createBy;
    
    private User exameBy;
    
    private User supplier;
    
    
    
    
    
    
    
    
    

	

	public User getSupplier() {
		return supplier;
	}

	public void setSupplier(User supplier) {
		this.supplier = supplier;
	}

	public User getCreateBy() {
		return createBy;
	}

	public void setCreateBy(User createBy) {
		this.createBy = createBy;
	}

	public User getExameBy() {
		return exameBy;
	}

	public void setExameBy(User exameBy) {
		this.exameBy = exameBy;
	}

	@Override
	public String toString() {
		return "PurchaseOrder [purchaseOrderId=" + purchaseOrderId
				+ ", purchaseTime=" + purchaseTime + ", supplierId="
				+ supplierId + ", totalPrice=" + totalPrice + ", createById="
				+ createById + ", createTime=" + createTime + ", exameById="
				+ exameById + ", exameTime=" + exameTime + ", exameSuggestion="
				+ exameSuggestion + ", sendMaterialTime=" + sendMaterialTime
				+ ", receiveMaterialTime=" + receiveMaterialTime + ", remark="
				+ remark + ", state=" + state + ", finish=" + finish + "]";
	}

	public Integer getPurchaseOrderId() {
        return purchaseOrderId;
    }

    public void setPurchaseOrderId(Integer purchaseOrderId) {
        this.purchaseOrderId = purchaseOrderId;
    }

    public String getPurchaseTime() {
        return purchaseTime;
    }

    public void setPurchaseTime(String purchaseTime) {
        this.purchaseTime = purchaseTime;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public Double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Integer getCreateById() {
        return createById;
    }

    public void setCreateById(Integer createById) {
        this.createById = createById;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getExameById() {
        return exameById;
    }

    public void setExameById(Integer exameById) {
        this.exameById = exameById;
    }

    public String getExameTime() {
        return exameTime;
    }

    public void setExameTime(String exameTime) {
        this.exameTime = exameTime;
    }

    public String getExameSuggestion() {
        return exameSuggestion;
    }

    public void setExameSuggestion(String exameSuggestion) {
        this.exameSuggestion = exameSuggestion;
    }

    public String getSendMaterialTime() {
        return sendMaterialTime;
    }

    public void setSendMaterialTime(String sendMaterialTime) {
        this.sendMaterialTime = sendMaterialTime;
    }

    public String getReceiveMaterialTime() {
        return receiveMaterialTime;
    }

    public void setReceiveMaterialTime(String receiveMaterialTime) {
        this.receiveMaterialTime = receiveMaterialTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getFinish() {
        return finish;
    }

    public void setFinish(Integer finish) {
        this.finish = finish;
    }
}